Colin Kaepernick and Frank Gore led a second-half rally that sent the San Francisco 49ers past the Atlanta Falcons 28-24 and into the Super Bowl.