New ground rules for confronting cyber-attacks