reorder rules in product name regex by importance