anchor.diff:  	end;
   rate1(Protocol, Service, Product, Buckets, Timestamp, Address,
   		Direction, #offer{name = OfferName} = Offer,
  -		Flag, DebitAmounts, ReserveAmounts, #state{service_type = ServiceType} = State) ->
  +		Flag, DebitAmounts, ReserveAmounts, ServiceType, State) ->
   	case mnesia:read(offer, OfferName, read) of
   		[#offer{specification = Spec, status = Status} = _P] when
   				((Status == active) orelse (Status == undefined))
  
positive.code: 										true ->
  											State = #state{buckets = Buckets,
  													product  = Product,
  													service_type = ServiceType,
  													service_id = ServiceId,
  													charging_key = ChargingKey,
  													service_network = ServiceNetwork,
  
negative.code: %% @hidden
  rate1(Protocol, Service, Product, Buckets, Timestamp, Address, Direction,
  		#offer{specification = undefined, bundle = Bundle}, Flag,
  		DebitAmounts, ReserveAmounts, ServiceType, State) ->
  	try
  		F = fun(#bundled_po{name = OfferId}, Acc) ->
  				case mnesia:read(offer, OfferId, read) of
  