parsing the old ruleset