Instead of limiting the class level/equipment, how about more penalties instead, such as an accuracy, success, and evasion penalty because you're wearing armor not meant for your current class?

As for optimum rank, maybe just do like ffxi and cut the gear's effectiveness to match your rank (going off of level sync), but maybe another cut to show the gear is being misused, like even lower stats, faster damage, removing extra buffs, etc.