cacheXmlTypes(rule.getQueryDefinition(), queryDefinitionTypes);
cacheXmlTypes(rule.getConcept(), conceptTypes);
cacheXmlTypes(rule.getConstraint(), constraintTypes);
cacheXmlTypes(rule.getGroup(), groupTypes);
}
RuleSet ruleSet = new RuleSet();
readConcepts(queryDefinitionTypes, conceptTypes, ruleSet);
readConstraints(queryDefinitionTypes, conceptTypes, constraintTypes, ruleSet);
readGroups(conceptTypes, constraintTypes, groupTypes, ruleSet);
return ruleSet;
}