Creating and Applying Dynamic Pricing Rules