@abc.abstractmethod<EOL><INDENT>def set_rule(self, rule_id):<DEDENT>
pass<EOL>
Sets a rule.

        :param rule_id: the new rule
        :type rule_id: ``osid.id.Id``
        :raise: ``InvalidArgument`` -- ``rule_id`` is invalid
        :raise: ``NoAccess`` -- ``Metadata.isReadOnly()`` is ``true``
        :raise: ``NullArgument`` -- ``rule_id`` is ``null``

        *compliance: mandatory -- This method must be implemented.*