(1) This rule applies if the offer--(a) is accepted by the offeree, and(b) does not make provision for costs in respect of the claim.
(2) If the offer proposed a judgment in favour of the plaintiff in respect of the claim, the plaintiff is entitled to an order against the defendant for the plaintiff's costs in respect of the claim, assessed on the ordinary basis up to the time when the offer was made.
(3) If the offer proposed a judgment in favour of the defendant in respect of the claim (including a dismissal of a summons or a statement of claim), the defendant is entitled to an order against the plaintiff for the defendant's costs in respect of the claim, assessed on the ordinary basis up to the time when the offer was made.