Militants snatch rifles from cops