Modified IScapContext to make it possible to retrieve selected rules in document order (since they're supposed to be evaluated in document order).