30 Secondly, where a plaintiff pleads two or more causes of action but succeeds on only some of those causes of action, the general rule is that the plaintiff is entitled to costs on the causes of action on which it was successful and the defendant is entitled to costs on the causes of action on which it was successful, as if separate actions had been brought: O 66 r 2(a). Again, and for similar reasons, an order of that kind is not to be made as a matter of course. It is necessary for the court to look at the realities of the case and attempt to do substantial justice in the particular circumstances. In some cases, while it might be strictly correct to say there are different causes of action involved, there may have been only one contest in substance. That will often be so where all causes of action arise out of the one course of dealings, the one transaction, or the same facts, in which case there would usually be one order for the general costs of the action, moulded as necessary to ensure that substantial justice is done: Permanent Building Society v Wheeler [No 2] (1993) 10 WAR 569, 574 - 575; Keet v Ward [24].