‘Counter-punch’: Federal judge rules NSA data collection legal