Optimizing Investment Portfolios in a Changing Regulatory Landscape