anchor.diff:  
   
   % Execute a single action: Replac some digits in the GT
  -gtt_action(Gt, Action) when is_record(Gt, global_title), is_record(Action, gtt_act_repl_digits) ->
  +gtt_action(Gt, Action) when is_record(Gt, global_title),
  +			    is_record(Action, gtt_act_repl_digits) ->
   	#gtt_act_repl_digits{replace_digit_start = ReplDigStart,
   			   replace_digit_end = ReplDigEnd,
   			   new_digits = NewDigits} = Action,
  
positive.code: global_title_match([{Match, Action}|Tail], Gt) when is_record(Gt, global_title) ->
  	PhoneNumInt = osmo_util:digit_list2int(Gt#global_title.phone_number),
  	if Match#gtt_match.gt_range_from >= PhoneNumInt ->
  		% in an ordered list, we can assume that no trailing rules will match
  		false;
  	   true ->
  		case single_gt_match(Match, Gt) of
  
negative.code: 	Gt#global_title{phone_number = Header ++ NewDigits ++ Trailer};
  
  % Execute a single action: Replac the numbering plan in the GT
  gtt_action(Gt, #gtt_act_repl_num_plan{numbering_plan = NewNumPlan})
  					when is_record(Gt, global_title) ->
  	Gt#global_title{numbering_plan = NewNumPlan};
  
  % Execute a single 'generic purpose' action that will call apply/2
  gtt_action(Gt, #gtt_act_apply{funct = Funct, args = Args}) when
  					is_record(Gt, global_title) ->
  	apply(Funct, Args).
  
  
  