Adding support for rule source objects as component metadata rules

+review REVIEW-5218