}
return constraintRules;
}
private Verifier getWorkingSetVerifier(Collection<String> additionalVerifierRules) {
VerifierConfiguration configuration = new DefaultVerifierConfiguration();
configuration = new VerifierConfigurationImpl();
if ( additionalVerifierRules != null ) {
for ( String rule : additionalVerifierRules ) {
configuration.getVerifyingResources().put( ResourceFactory.newByteArrayResource( rule.getBytes() ), ResourceType.DRL );
}
}
return VerifierBuilderFactory.newVerifierBuilder().newVerifier( configuration );
}