Extracted RuleAction conversion and validation to generic capabilities

+review REVIEW-5180