Changed exception handling for component selection rules to be more specific.

+review REVIEW-5137