adds parsing XML file with rules