One more point of clarification. When the book says "group" in that sense, it's referring to spells, rituals, and preparations as separate groups. What I mean is that all spells fall under the "spell" group, regardless of what category the spell belongs to. So a person with 6 magic (12 spells per group) could buy 12 different spells, 12 different rituals, and 12 different preparations.