Endogenous development of rural areas: a local perspective