RuleServiceProviderImpl.class );
RuleServiceProvider ruleServiceProvider = RuleServiceProviderManager.getRuleServiceProvider( RULE_SERVICE_PROVIDER );
ruleAdministrator = ruleServiceProvider.getRuleAdministrator( );
// load the rules and register them
LocalRuleExecutionSetProvider ruleSetProvider = ruleAdministrator.getLocalRuleExecutionSetProvider( null );
InputStream rules = this.getClass( ).getResourceAsStream( ruleUri );
RuleExecutionSet ruleExecutionSet = ruleSetProvider.createRuleExecutionSet( rules, null );
ruleAdministrator.registerRuleExecutionSet( ruleUri, ruleExecutionSet, null );
RuleRuntime ruleRuntime = ruleServiceProvider.getRuleRuntime( );
statelessRuleSession = ( StatelessRuleSession ) ruleRuntime.createRuleSession( ruleUri,
null,