A judge has ruled in favor of Artell Brothers Farms in a legal dispute with St. Landry Parish government over whether a farm pump contributed to flooding concerns near Melville.