As rural officers are priced out of the housing market, department heads scramble to fill positions and retain experienced staff