Refactoring cart price rules to use single table inheritance.