dictionary: support the -r/--ruleset option