Rule based behavior classification via accelerometry in transtibial amputees