Ruleset parsing.