That sure is a lot of lines of code to say the same thing as:
1: Decrease Spell Mana Cost by 25%
2: Limit: Spell(Sylvan Fire allowed)
3: Limit: Spell(Ancient Chaos Frost allowed)
4: Limit: Combat Skills Not Allowed
Kind of like Kerasha's gloves? Maybe they didn't want #3 to be obvious to people?