Read in the Rule Set

/* read in the rule set */
              final RuleItem_RuleSet ruleSet = getRuleSet();

This line calls a utility method to read the rule set from an XML source file.

The rule set is explicitly validated to ensure that it contains no errors:

/* dump out any problems */
              ruleSetXmlReader.validationProblemCollection().printProblems(
              System.err);

              /* fail if there are errors in the rule set */
              assertTrue(!ruleSetXmlReader.validationProblemCollection()
              .containsErrors());