Managed to make queries work using rule statements.  I have reason to
suspect that it is *not* recursive afterall however.  Will work on that
next.