}
protected void initRuleDefinitions(Node ruleDefinitionsNode,
RulesConfig rulesConfig) throws XPathExpressionException
{
RuleDefinitionsElmt ruleDefinitionsElmt = new RuleDefinitionsElmt();
List<RuleDefElmt> ruleDefElmts = createRuleDefElmts(ruleDefinitionsNode);
Map<String, RuleDefElmt> ruleDefElmtsMap =
new HashMap<String, RuleDefElmt>();
for (RuleDefElmt ruleDefElmt : ruleDefElmts)
{
ruleDefElmtsMap.put(ruleDefElmt.getName(), ruleDefElmt);
}
ruleDefinitionsElmt.setRuleDefElmts(ruleDefElmtsMap);
rulesConfig.setRuleDefinitionElmts(ruleDefinitionsElmt);
}