clean-up portfolio rules