and to be honest, it is only half the truth as you need to wrap this all in a plugin.
But may I ask you why there is a need to have more than 8 different keyword group styles?
Does this really makes sense?