Changing signature of component selection rules targeting to accept an Object so that either a String or ModuleIdentifier can be used.

+review REVIEW-5180