(1) A third party who has a claim against the defendant may assert the claim in the proceeding by way of counterclaim and rule 10.02 applies as if the claim by the third party notice were a proceeding commenced by writ.
(2) A third party who counterclaims may join the plaintiff as defendant to the counterclaim along with the defendant if the plaintiff and defendant could be joined properly as defendants in accordance with rule 9.02 in a separate proceeding brought against them by the third party.