Rangers foil major terror bid