Created a service to place metatype rules in.
metatype controller now uses rules to check validity
moved setting of metadata based character data into the rules service
changing metatype priority will validate metatype selection.
tweaked metatype view
changing metatype now fixes attributes