Adding support for module-targeted component metadata rules

+review REVIEW-5218