logger.error(message);
throw new MolgenisModelException(message);
}
// construct
MethodQuery query = new MethodQuery(element.getAttribute("entity"));
method.setQuery(query);
// parse the rules
NodeList nodes = element.getChildNodes();
for (int nodeid = 0; nodeid < nodes.getLength(); ++nodeid)