Perhaps part of the role of the judge is to understand, and correct for, this imbalance - but I'm not sure how effective that is.
But back to the point, rules on legal costs, punitive fees and so on, all fall down when "the boot is on the other foot." There is no way for the small guy to take a big guy to court if legal costs are always paid by the loser, never mind punitive damages.
Equally while it's popular to default to evil-corp (with good reason) it's also important for big-Corp to have, and be able to defend, their intellectual property.
Writing rules that allow for fairness under all these conditions, inside a system that incentives combatents (lawyers) to maximise personal profitability, is, well, tricky.