def find_rule(self, rule):
defrule = lib.EnvFindDefrule(self._env, rule.encode())<EOL>if defrule == ffi.NULL:<EOL><INDENT>raise LookupError("<STR_LIT>" % defrule)<EOL><DEDENT>return Rule(self._env, defrule)<EOL>
Find a Rule by name.