Staffan,
It would be great to have a look at your design of the sequencing engine once you have it. As I believe I mentioned to you before, I really would like to include this sequencing engine to be able to launch different learning objects according to IMS simple sequencing rules.
I'm sure I gave you this link already. Here's the conceptual definition of simple sequencion from Carnegie Mellon. It might help.
Thank you,
Ernie