subruleIndex,
context );
BaseNode baseTerminalNode = (BaseNode) terminal;
baseTerminalNode.networkUpdated(new UpdateContext());
baseTerminalNode.attach(context);
if ( context.getKnowledgeBase().getConfiguration().isPhreakEnabled() ) {
AddRemoveRule.addRule( terminal, context.getWorkingMemories(), context.getKnowledgeBase() );
}
// adds the terminal node to the list of nodes created/added by this sub-rule