A federal judge has ruled New York Thruway tolls are for maintaining the road and cannot be used to subsidize the state canal system.