Do not print useless rules:

a rule *without inputs* AND *without command* is here to check there is no missing
file. Actually, such situation only happens for source files: if a source file is missing (has been deleted for example). It makes sense for ninja on how they manage rules/nodes.
Actually, we consider it is not our job to check this, if a file is missing the command should raise an error to say what did happen.