Celtic went to Hampden Park knowing Rangers stood in their way to securing a final against Falkirk or Inverness.