A New York federal appeals court found the National Security Agency's bulk collection of phone records illegal, but a separate ruling this week set privacy rules back with the approval of law enforcement's collection of warrantless phone location data.