change: <group default="yes" name="Red Mage"> to <sets> <group default="yes" name="Red Mage"> to match that ending </sets> tag. Also, I know spaces don't really work (might not work at all?) in set names, so I'm not sure they actually work in group names? The Name is for switching between groups and inheriting purposes. Instead, change that line to be: <sets> <group default="yes" name="main">
I like to use <group default="yes" name="standard"> unless I'm defining multiple groups, but the way he has it should be fine. It's not a complex XML, anyway.