The newly revised bankruptcy legislation President Bush signed into law on April 20 has brought some legal certainty long sought by Wall Street and the mortgage banking industry regarding the treatment of certain financial contracts in the event of the bankruptcy or insolvency of a counterparty, according to legal experts.