Up and down Wall Street, analysts and investment bankers, under the watchful eye of management, turned the business of investing into a crass "heads we win, tails you lose" proposition for investors. To make sure analysts kept up the ruse, their bosses paid them according to how much new investment-banking business they attracted. And to reward execs for sending them business, bankers "virtually bribed" CEOs, as one regulator put it, with shares of hot initial public offerings. Such corrupt relationships helped drive the stock market to absurd heights in the late 1990s. And it fueled a vast transfer of wealth from investors to Wall Street bankers and their CEO clients. Retail brokers, whose clients were duped by the dishonest research, complained loudly, but their pleas were ignored all the way up the chain of command. No one did anything because everyone in the game profited. Everyone, that is, but retail investors, who didn't know the rules. Now they do. The $1.4 billion settlement between state and federal securities regulators and 10 of the largest Wall Street firms is meant to ensure that investors are never again relegated to the bottom of the food chain. Regulators hope to restore the integrity of research by forcing structural reforms on the Terrible Ten. The pact also aims to boost the sophistication of individual investors by requiring the firms to provide free copies of independently produced analysis and to support an investor-education fund. And it hopes to make research more transparent by requiring firms to publish their analysts' stock-picking track records. Real change may depend on regulators making good on promises to bring future cases against the Wall Street executives and managers who oversaw research and banking -- including the CEOs. So far, only two individuals -- former analysts Jack B. Grubman of Salomon Smith Barney and Henry R. Blodget of Merrill Lynch -- have been punished. INSET: GRADING THE DEAL.