added rulesets to xml-writer