Added basic PricingRule class. Added test to check if it is being checked for validity.
Pricing Rules are checked correctly and only valid rules are executed.