removeRule method

void removeRule(
  1. String key,
  2. Matcher rule
)

Removes a rule.

Implementation

void removeRule(String key, Matcher rule) {
  if (rules.containsKey(key)) {
    rules[key].remove(rule);
  }
}