Faster dispatch for recursively called production rules