Adds all given rules.
rules
void addRules(String key, Iterable<Matcher> rules) { for (var rule in rules) { addRule(key, rule); } }