def remove_rule(self, name):
        """
        Remove a rule from attributes.

        Arguments:
            name (string): Rule name to remove.
        """
        self._rule_attrs.remove(name)
        delattr(self, name)
Remove a rule from attributes.

        Arguments:
            name (string): Rule name to remove.