N.Y. Civil Practice Law & Rules § 411
Rule 411. Judgment. The court shall direct that a judgment be entered determining the rights of the parties to the special proceeding.