code: public void addRules(Rules rules) {
          if (logger.isDebugEnabled()) {
              logger.debug("Adding rules -> " + rules);
          }
          addRules(DEFAULT_CONTEXT_ID, rules);
      }
docs: Add or update the rules for a single bean class.
  
  @param rules
  The rules.