def get_rule_id(self):
from .osid_errors import IllegalState<EOL>raise IllegalState()<EOL>
Gets the explicit rule ``Id``.

        return: (osid.id.Id) - the rule ``Id``
        raise:  IllegalState - ``has_rule()`` is ``false``
        *compliance: mandatory -- This method must be implemented.*