Artificial Intelligence in BCI for Neurorehabilitation