*/
private List<Concept> getSelectedConcepts(List<String> conceptNames, RuleSet ruleSet) throws RuleSetResolverException {
final List<Concept> selectedConcepts = new ArrayList<>();
if (conceptNames != null) {
for (String conceptName : conceptNames) {
Concept concept = ruleSet.getConcepts().get(conceptName);
if (concept == null) {
throw new RuleSetResolverException("The concept '" + conceptName + "' is not defined.");
}
selectedConcepts.add(concept);
}