A judge ruled in favor of the city of Flint during the legal battle between the city and the Hasselbring Senior Center.