Court rules against delisting gray wolf