code: def remove_rule(self, name):
          
          self._rule_attrs.remove(name)
          delattr(self, name)
docs: Remove a rule from attributes.
  
          Arguments:
              name (string): Rule name to remove.