Fix rulesets.