Gujarat Lions guarantee themselves a top-two finish on the IPL league table, and earn two shots at a place in the final.