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