getXML - retrieves XML from rule object
Retrieves the current state of a rule object and returns it as a valid XML string.