added PortfolioManager constructor that takes a settings table and creates portfolio rules