format ruleset.xml