Judge upholds Minnesota's wild rice protection