EntryPointNode epn = ruleBase.getRete().getEntryPointNode( context.getCurrentEntryPoint() );
if ( epn == null ) {
epn = new EntryPointNode( context.getNextId(),
ruleBase.getRete(),
context );
epn.attach( context );
for ( InternalWorkingMemory wm : wms ) {
wm.updateEntryPointsCache();
epn.updateSinkOnAttach( context, wm );
}
}