sorted rulesets by length