add product rule to parser