( (BaseNode) terminal ).attach();
} else {
( (BaseNode) terminal ).attach( context.getWorkingMemories() );
}
( (BaseNode) terminal ).networkUpdated(new UpdateContext());
// adds the terminal no to the list of nodes created/added by this sub-rule
context.getNodes().add( (BaseNode) terminal );
// assigns partition IDs to the new nodes