Merge pull request #1837 from anandpdoshi/anand-wip

Fix in pricing rule patch