getXML - Retrieves XML from rules object
Retrieves the current tstate of the rules object and all of its child objects and returns it to the calling function as a valid XML string.