// add an Object to the statefulRuleSession
log( "Adding browser User-Agent to session: " + userAgent );
statefulRuleSession.addObjects( inputList );
log( "Called addObject on Stateful Rule Session: "
+ statefulRuleSession );
statefulRuleSession.executeRules( );
log( "Called executeRules" );
// extract the Objects from the statefulRuleSession
resultList = statefulRuleSession.getObjects( );
log( "Result of calling getObjects: " + resultList );
// release the statefulRuleSession so it is reset and repooled