NEW YORK ( Reuters ) - Shares of Fannie Mae ( FNM.N : Quote , Profile , Research ) and Freddie Mac ( FRE.N : Quote , Profile , Research ) jumped on Wednesday , after the federal regulator for the mortgage finance companies said it will lift an investment cap , in a move that will free up billions of dollars to invest in the U.S. housing market .