In any eviction action case where a tenant withholds rent in reliance on a defense, the defendant shall deposit forthwith into court an amount in cash, money order or certified check payable to the District Court equal to the rent due as the same accrues or such other amount as determined by the court to be appropriate as security for the plaintiff, given the circumstances of the case.
Minn. Gen. R. Prac. 608