Towards a mechanistic approach for the development of non‐invasive brain‐computer interfaces for motor rehabilitation