Computes the diagnostic rulekey data for the given rule and all of its appendables recursively.
Previously processed rules and appendables are skipped and not fed to the consumer. Results for
the newly processed rule and appendables are fed to the consumer, but not stored otherwise.
Only information of whether something has been processed or not gets stored.