No school district shall solicit the enrollment of a nonresident student. For the purpose of determining eligibility to participate in high school activities, the rules of any association governing such activities to which the district belongs shall govern.