The City of Gilroy is closer to seeing its legal conflict involving a proposed 349-unit housing project in a south Gilroy cherry orchard dismissed after a Superior Court judge ruled the city did not violate the developer’s rights to a public hearing.