The net result is that if you need to work with only part of the document model (the "first" part, in document order terms), AXIOM delivers great performance.
In order to do this, the basic idea is to create a combined user-defined function that first invokes the model creation process and that then extracts the rules and returns them as a result set.