The rules of armor are too simple: it's either work or doesn't.
Each spell/ability should have an individual logical formulae that describes if it will work or not. And armor can be a part of these formulas along the way with caster/target stats and whatnot.