code: public void setRules(RuleProvider provider, List<Rule> rules)
      {
          providersToRules.put(provider, rules);
      }
docs: Sets the {@link List} of {@link Rule}s that were loaded from the given {@link RuleProvider}.