Functions.
Checks that the public rule doesn't already exist in the list of public
rules (which can represent the public interface or the rules themselves).
We only need to compare the name/node as they uniquely identify the
name/regex
@param public_rule : the rule to search for
@type Rule
@param public_rules : list of Rule (public, watchlist or blacklist)
@type list : list of Rule objects
@return True if the public rule exists, False otherwise
@rtype bool
Definition at line 27 of file public_interface.py.