In what attorneys said was the first case of its kind in Connecticut, a Superior Court judge has ruled in favor of a restaurant using an equitable-nonforfeiture defense in a dispute over lack of rent payment.