Preparing for future security challenges while responding to immediate threats need of hour: Rajnath