Former Manchester United defender Rafael popped up with a rare goal to ensure Lyon took all three points from their trip to Toulouse in Ligue 1.