Court of Appeal confirms contractual rules apply by analogy to assessment of compensation under cross-undertaking in damages