Retrieves the entity rule associated with the attribute rule object by its entity rule's identifier.
A raw pointer to the entity rule object. If the entity rule is not found, the method returns the NULL pointer.