Changed implementation of default price rule to calculate the price based on sales rank