In a rare Sunday action aimed at heading off a new market upheaval , the Federal Reserve cut a key rate for direct loans to certain financial institutions and said it would offer immediate liquidity to the brokerage system .