A few minor tweaks to VersionSelectionRules

+review REVIEW-5126
Renamed o.g.a.artifacts.MetadataRule -> o.g.a.RuleAction

+review REVIEW-5137
ComponentMetadataDetails extends ComponentMetadata

+review REVIEW-5137
Extracted general purpose types for converting closures into RuleActions

+review REVIEW-5137
Cache the metadata directly when executing version selection rules

+review REVIEW-5137