Retrieves a rule (either attribute rule or entity rule) by its identifier.
A raw pointer to the OdMvdXmlRule object. If the rule is not found, the method returns the NULL pointer.