Housing money to rescue foreclosed homes