Исходное предложение: "I can't explain this rule to you" said my classmate to me.
Преобразуем в косвенную речь, изменив местоимения и глаголы:
Ответ: My classmate told me that he couldn't explain that rule to me.