Farming practices must change, rules judge following river action legal action over state of river Wye