We extract a process structure from event logs using process mining.
We obtain the rules that guide adaptive learning from these logs by means of decision tree learning.
We developed an algorithm to recompile the extracted process structure and rules in IMS Learning Design (IMS LD).
The proposed framework facilitates the reuse of units of learning from legacy and proprietary e-learning systems.