WASHINGTON, June 25 (Reuters) – U.S. lawmakers are close to finalizing legislation that will overhaul the country’s financial system and usher in new rules for Wall Street.

A joint House of Representatives and Senate committee approved a bank regulation bill that lawmakers expect to pass each chamber separately in the coming days. It will then be ready for U.S. President Barack Obama to sign into law, possibly by July 4.

Below are some of the likely winners and losers under the regulation bill.

CREDIT RATING AGENCIES – WIN AND LOSE

* Credit rating agencies — such as Moody’s Corp, Standard & Poor’s and Fitch Ratings — will be subject to greater liability.

* Rating agencies could be sued if they “recklessly” failed to review key information in developing a rating.

* The Securities and Exchange Commission will be given two years to find a way to mitigate conflicts of interests at the biggest rating agencies, Moody’s, S&P and Fitch, which are paid by the issuers whose debt they rate. The two years give the agencies breathing space but if the SEC does not find a solution, the regulator is required to implement a proposal by Senator Al Franken and create a board to match rating agencies with debt issuers.