Stocks rallied today as investors placed bets that a recovery in the financial and housing sectors is more likely to occur following the US government’s move to bail out mortgage giants Fannie Mae and Freddie Mac. The Dow Jones industrials gained nearly 300 points.