anchor.diff:  		end
   	end;
   % Same as above, but for SCCP Address (i.e. GT + point code and SSN)
  -global_title_match([{Match, Action}|Tail], SccpAddr) when is_record(SccpAddr, sccp_addr) ->
  +global_title_match([{Match, Action}|Tail], SccpAddr) when
  +					is_record(SccpAddr, sccp_addr) ->
   	Gt = SccpAddr#sccp_addr.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
  +		% in an ordered list, we can assume that no trailing rules will
  +		% match
   		false;
   	   true ->
   		case single_gt_match(Match, SccpAddr) of
  
positive.code: 
  
  % perform matching of a given global title against a single match
  single_gt_match(Match, Gt) when is_record(Match, gtt_match), is_record(Gt, global_title) ->
  	#gtt_match{gt_range_from = RangeFrom, gt_range_to = RangeTo,
  		   numbering_plan = NumPlan, nature_of_addr_ind = NatureInd} = Match,
  	% build a list of the individual criteria that all have to match
  	SubMatchList = [{digits, {RangeFrom, RangeTo}, Gt#global_title.phone_number},
  			{numbering_plan, NumPlan, Gt#global_title.numbering_plan},
  			{nature_of_addr_ind, NatureInd, Gt#global_title.nature_of_addr_ind}],
  	gt_sub_match_list(SubMatchList);
  % Same as above, but for SCCP Address (i.e. GT + point code and SSN)
  single_gt_match(Match, SccpAddr) when is_record(Match, gtt_match), is_record(SccpAddr, sccp_addr) ->
  	#gtt_match{dpc = Dpc, ssn = Ssn} = Match,
  	Gt = SccpAddr#sccp_addr.global_title,
  	% First match the GT part
  
negative.code: 
  
  % 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_act_repl_digits{replace_digit_start = ReplDigStart,
  			   replace_digit_end = ReplDigEnd,
  			   new_digits = NewDigits} = Action,
  