Improved error message for invalid component model rule method

+review REVIEW-5081