code: function helper_createTriggerObject(trigger)
  {
  	var triggerObject = {};
  
  	triggerObject.triggerIdentifier = trigger.identifier;
  
  	triggerObject.rules = [];
  	for (var i = 0; i < trigger.rules.length; ++i)
  	{
  		var rule = trigger.rules[i];
  		triggerObject.rules.push({
  			ruleType: rule.ruleType,
  			ruleIdentifier: rule.ruleIdentifier,
  			nearableIdentifier: rule.nearableIdentifier,
  			nearableType: rule.nearableType });
  	}
  
  	return triggerObject;
  }
docs: Helper function that creates an internal 'lightweight'
  trigger object sent to the native side.
  @private