Allow to use product as pattern of analytic rule
Some users may want to create analytic rules based on the product or the product categories related to the line.
For that we could use the origin of the line from #8074 (closed) and add product and categories to the pattern.
As analytic_account does not depend on product, I do not think we should add such new dependency but instead we should add the behavior in account_product module.