Product Rule for Ordinary Generating Functions of Graded Classes