public static SchematronProcessor newScehamtronEngine(final Templates rules) {
try {
return new SchematronProcessor(getXMLReader(), rules);
} catch (Exception e) {
LOG.error("Failed to parse the configuration file");
throw new SchematronConfigException(e);
}
}