Modeling and Emulating a Physiotherapists Role in Robot-Assisted Rehabilitation