bug fix in change needed for automatic generation of rules.xsl
completed dependency rules  for generated xml files
added clean-data rule
reorganized stuff used for validating the XML data