update the rules to extract product image