Add Sort Order to Rules

Sub product discounts use this function separately from the main product.
In some cases Sub Products would run a different rule to the main product.