If the claimant makes an offer which is accepted by the defendant, the claimant is entitled to costs up to the time when notice of acceptance of the offer is served.