private RuleUtil() {
}
public static DroolsRuleManager getRuleManager() throws Exception {
PersistenceRuleManager ruleManager = new PersistenceRuleManager();
ruleManager.setGlobalPersistence(new DefaultConfigPersistenceService(
new DummyConfigPersistenceService<GlobalDeclaration>()));
ruleManager.setImportPersistence(new DefaultConfigPersistenceService(
new DummyConfigPersistenceService<ImportDeclaration>()));
ruleManager.setRulePersistence(new DefaultConfigPersistenceService(
new DummyConfigPersistenceService<RuleBaseElement>()));
ruleManager.init();
return ruleManager;
}