It's still legal for legislators to write laws hurting or helping targeted corporations and then shorting or buying long the stocks of those same companies.  It is how two-bit lawyers become millionaires.