On the upper Gila River, 25 miles northwest of Silver City, two environmental groups, three ranchers and the Forest Service had spent three years forging a compromise to build pipelines, pump stations and other improvements to move cattle from 32 miles of river bottom without hurting the ranchers' business.