Rural school losing students to better equipped institution