updating rules for product editing