implemented PortfolioRule for configurable error checking on buy trades