public boolean passesRule(String ruleName, RuleArgs ruleArgs)
{
boolean passesRule = true;
// Get the ruleDef and ensure it is not null
RuleDefElmt ruleDef =
rulesConfig.getRuleDefinitionElmts().getRuleDefElmts().get(ruleName);
RUtil.assertNotNull(ruleDef, "There is no rule definition for " + ruleName);
// Get all the RuleElmts of the ruleDef and make sure they aren't null or
// empty
List<RuleElmt> ruleElmts = ruleDef.getRuleElmts();
RUtil.assertNotNullOrEmpty(ruleElmts, "There are no rule elements for "
+ ruleName);
// List of rule elmts to evaluate
List<RuleElmt> ruleElmtsToEvaluate = new LinkedList<RuleElmt>();