if ( rule.getNoLoop( ) && rule.equals( context.getRuleOrigin( ) ) )
{
return;
}
Duration dur = rule.getDuration( );
AgendaItem item = new AgendaItem( tuple,
context,
rule );
/* set the focus if rule autoFocus is true */
if ( rule.getAutoFocus() )
{
setFocus( rule.getModule() );
}
if ( dur != null && dur.getDuration( tuple ) > 0 )
{
this.scheduledItems.put( item.getKey( ),
item );
scheduleItem( item );
this.workingMemory.getAgendaEventSupport( ).fireActivationCreated( rule,