function createRulesMeta(rules) {
	return Array.from(rules).reduce((retVal, [id, rule]) => {
		retVal[id] = rule.meta;
		return retVal;
	}, {});
}
Create rulesMeta object.
@param {Map<string,RuleDefinition>} rules a map of rules from which to generate the object.
@returns {Object} metadata for all enabled rules.