}
}
}
for (XMLVar xmlVar : xmlRule.getXMLVar()) {
rule.add(new Var(xmlVar.getName(), VarType.valueOf(xmlVar
.getType().toString()), xmlVar.getDefault()));
}
for (XMLResolve xmlResolve : xmlRule.getXMLResolve()) {
Rule varRule = getRule(_xmlRules.get(xmlResolve.getRule()));
if (varRule == null) {
log.error("Unknown rule " + xmlResolve.getRule()
+ " referred in " + rule);
continue;
}
Var var = varRule.getVar(xmlResolve.getVar());
if (var == null) {
log.error("Unknown var " + xmlResolve.getVar()
+ " in rule " + xmlResolve.getRule()
+ " referred in " + rule);
continue;