code: function helper_updateTriggerRule(trigger, event)
  {
  	var rule = trigger.ruleTable[event.ruleIdentifier];
  	if (rule && rule.ruleUpdateFunction)
  	{
  		rule.ruleUpdateFunction(rule, event.nearable, event);
  		helper_updateRuleState(
  			event.triggerIdentifier,
  			event.ruleIdentifier,
  			rule.state);
  	}
  }
docs: Helper function that calls the update function of the rule
  related to the event and then updates the native rule state.
  @private