AI meta data

Work done to make AI supportpower usage slightly smarter. Refer to #5830 

Allows some basic usage rules to be defined in yaml for supportpowers.
There's a lot of duplication in the following blocks.  You should think about ways to reduce this.