docs: private void printRules(RuleSet ruleSet, PrintWriter out) {
          out.println("<Rules>");
          for (Rule rule : ruleSet.getRules()) {
              out.println("<Rule name='" + rule.getName() + "' priority='" + rule.getPriority() + "'/>");
          }
          out.println("</Rules>");
      }