SAN FRANCISCO (MarketWatch) -- The U.S. government agreed Sunday night to rescue Citigroup Inc. with a huge bailout plan that includes a $20 billion capital infusion, guarantees for up to $306 billion of Citi's troubled assets - and control of executive bonuses.