The function rule applies to the set of river names. The part of the domain where the rule does not hold is for other input types (e.g., people, cities, events, and non-river objects).