Judge sides with wild horse advocates against ranchers