Court rules in favor of federal and state agencies on Mexican wolf management rule