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.
It should only get issued once per AI per supportpower before the power is triggered. I'll take another look at this.