Rule Learning/XML Representation