applying price rules