Towards a Brain Computer Interface-based Rehabilitation: from Bench to Bedside