final BuildContext context = new BuildContext( rulebase,
idGenerator );
// if running in STREAM mode, calculate temporal distance for events
if( EventProcessingMode.STREAM.equals( rulebase.getConfiguration().getEventProcessingMode() ) ) {
TemporalDependencyMatrix temporal = this.utils.calculateTemporalDistance( subrules[i] );
context.setTemporalDistance( temporal );
}
if ( rulebase.getConfiguration().isSequential() ) {
context.setTupleMemoryEnabled( false );