Secrets to Making Price Optimization Compliant with Rules