In this part:
"judgment in favour of the defendant" includes a dismissal of an originating application or an originating claim.
"offer" means an offer of compromise under rule 1002.
"period of acceptance", for an offer, means the period when the offer is open for acceptance.