Fix testutil/`RuleMap` for singleton or orphaned nodes.
Fix testutil/`RuleMap` for singleton or orphaned nodes.

Summary:
The old code only added nodes when there's a dependency to or from the node.
This changes it so the node is always added.

Test Plan: `buck test --all`

zhan-xiong/buck,brettwooldridge/buck,robbertvanginkel/buck,neonichu/buck,JoelMarcey/buck,mikekap/buck,siddhartharay007/buck,k21/buck,shybovycha/buck,rmaz/buck,LegNeato/buck,marcinkwiatkowski/buck,Dominator008/buck,darkforestzero/buck,dpursehouse/buck,stuhood/buck,sdwilsh/buck,dushmis/buck,stuhood/buck,dushmis/buck,rmaz/buck,JoelMarcey/buck,liuyang-li/buck,siddhartharay007/buck,zhan-xiong/buck,romanoid/buck,janicduplessis/buck,janicduplessis/buck,MarkRunWu/buck,tgummerer/buck,mnuessler/buck,neonichu/buck,robbertvanginkel/buck,luiseduardohdbackup/buck,MarkRunWu/buck,k21/buck,JoelMarcey/buck,ilya-klyuchnikov/buck,dpursehouse/buck,vschs007/buck,Distrotech/buck,shybovycha/buck,dsyang/buck,janicduplessis/buck,Learn-Android-app/buck,vschs007/buck,lukw00/buck,pwz3n0/buck,robbertvanginkel/buck,Learn-Android-app/buck,ilya-klyuchnikov/buck,davido/buck,janicduplessis/buck,davido/buck,romanoid/buck,rhencke/buck,mogers/buck,Learn-Android-app/buck,1yvT0s/buck,shybovycha/buck,darkforestzero/buck,brettwooldridge/buck,Dominator008/buck,shs96c/buck,saleeh93/buck-cutom,artiya4u/buck,vine/buck,romanoid/buck,vine/buck,SeleniumHQ/buck,vine/buck,janicduplessis/buck,grumpyjames/buck,mogers/buck,bocon13/buck,janicduplessis/buck,justinmuller/buck,shs96c/buck,illicitonion/buck,dpursehouse/buck,hgl888/buck,mread/buck,rhencke/buck,mikekap/buck,Addepar/buck,saleeh93/buck-cutom,justinmuller/buck,rowillia/buck,pwz3n0/buck,rhencke/buck,Learn-Android-app/buck,tgummerer/buck,zhuxiaohao/buck,illicitonion/buck,raviagarwal7/buck,LegNeato/buck,Addepar/buck,rmaz/buck,LegNeato/buck,mread/buck,JoelMarcey/buck,shs96c/buck,marcinkwiatkowski/buck,mnuessler/buck,rowillia/buck,daedric/buck,dpursehouse/buck,rowillia/buck,rhencke/buck,robbertvanginkel/buck,daedric/buck,liuyang-li/buck,rmaz/buck,Distrotech/buck,Addepar/buck,Heart2009/buck,rmaz/buck,Dominator008/buck,romanoid/buck,sdwilsh/buck,rowillia/buck,Addepar/buck,dsyang/buck,ilya-klyuchnikov/buck,SeleniumHQ/buck,Distrotech/buck,stuhood/buck,MarkRunWu/buck,luiseduardohdbackup/buck,illicitonion/buck,kageiit/buck,facebook/buck,SeleniumHQ/buck,rhencke/buck,darkforestzero/buck,grumpyjames/buck,romanoid/buck,kageiit/buck,zhuxiaohao/buck,Addepar/buck,1yvT0s/buck,sdwilsh/buck,dushmis/buck,raviagarwal7/buck,JoelMarcey/buck,Learn-Android-app/buck,bocon13/buck,JoelMarcey/buck,raviagarwal7/buck,artiya4u/buck,marcinkwiatkowski/buck,kageiit/buck,saleeh93/buck-cutom,tgummerer/buck,zpao/buck,OkBuilds/buck,nguyentruongtho/buck,vine/buck,k21/buck,janicduplessis/buck,saleeh93/buck-cutom,marcinkwiatkowski/buck,clonetwin26/buck,Distrotech/buck,kageiit/buck,darkforestzero/buck,clonetwin26/buck,raviagarwal7/buck,shybovycha/buck,marcinkwiatkowski/buck,nguyentruongtho/buck,daedric/buck,SeleniumHQ/buck,Learn-Android-app/buck,dsyang/buck,LegNeato/buck,MarkRunWu/buck,dushmis/buck,davido/buck,sdwilsh/buck,Dominator008/buck,hgl888/buck,mikekap/buck,ilya-klyuchnikov/buck,SeleniumHQ/buck,mogers/buck,ilya-klyuchnikov/buck,marcinkwiatkowski/buck,OkBuilds/buck,mikekap/buck,facebook/buck,artiya4u/buck,nguyentruongtho/buck,Dominator008/buck,davido/buck,Dominator008/buck,zhan-xiong/buck,luiseduardohdbackup/buck,justinmuller/buck,mikekap/buck,SeleniumHQ/buck,dsyang/buck,grumpyjames/buck,k21/buck,Addepar/buck,kageiit/buck,clonetwin26/buck,pwz3n0/buck,siddhartharay007/buck,MarkRunWu/buck,davido/buck,dushmis/buck,mnuessler/buck,stuhood/buck,artiya4u/buck,liuyang-li/buck,bocon13/buck,nguyentruongtho/buck,zhuxiaohao/buck,OkBuilds/buck,raviagarwal7/buck,darkforestzero/buck,Distrotech/buck,zhan-xiong/buck,pwz3n0/buck,ilya-klyuchnikov/buck,saleeh93/buck-cutom,mnuessler/buck,Distrotech/buck,Learn-Android-app/buck,davido/buck,rhencke/buck,pwz3n0/buck,zhan-xiong/buck,shybovycha/buck,Dominator008/buck,justinmuller/buck,raviagarwal7/buck,robbertvanginkel/buck,brettwooldridge/buck,Heart2009/buck,luiseduardohdbackup/buck,artiya4u/buck,justinmuller/buck,vine/buck,clonetwin26/buck,illicitonion/buck,mnuessler/buck,k21/buck,LegNeato/buck,dsyang/buck,stuhood/buck,marcinkwiatkowski/buck,bocon13/buck,hgl888/buck,JoelMarcey/buck,zpao/buck,bocon13/buck,romanoid/buck,marcinkwiatkowski/buck,rmaz/buck,siddhartharay007/buck,zhan-xiong/buck,lukw00/buck,vschs007/buck,brettwooldridge/buck,rowillia/buck,artiya4u/buck,liuyang-li/buck,lukw00/buck,Addepar/buck,dpursehouse/buck,SeleniumHQ/buck,zhan-xiong/buck,stuhood/buck,OkBuilds/buck,mnuessler/buck,clonetwin26/buck,robbertvanginkel/buck,neonichu/buck,artiya4u/buck,vschs007/buck,dsyang/buck,k21/buck,lukw00/buck,dushmis/buck,Heart2009/buck,dsyang/buck,daedric/buck,brettwooldridge/buck,shybovycha/buck,ilya-klyuchnikov/buck,k21/buck,nguyentruongtho/buck,Learn-Android-app/buck,dushmis/buck,daedric/buck,brettwooldridge/buck,lukw00/buck,luiseduardohdbackup/buck,tgummerer/buck,rmaz/buck,robbertvanginkel/buck,robbertvanginkel/buck,grumpyjames/buck,shs96c/buck,rmaz/buck,artiya4u/buck,stuhood/buck,tgummerer/buck,k21/buck,justinmuller/buck,darkforestzero/buck,vine/buck,davido/buck,raviagarwal7/buck,clonetwin26/buck,janicduplessis/buck,zhuxiaohao/buck,Distrotech/buck,Distrotech/buck,zpao/buck,1yvT0s/buck,LegNeato/buck,siddhartharay007/buck,LegNeato/buck,vine/buck,OkBuilds/buck,Distrotech/buck,illicitonion/buck,Addepar/buck,shybovycha/buck,vine/buck,mread/buck,SeleniumHQ/buck,mnuessler/buck,Heart2009/buck,OkBuilds/buck,zhan-xiong/buck,clonetwin26/buck,rowillia/buck,neonichu/buck,artiya4u/buck,tgummerer/buck,shybovycha/buck,romanoid/buck,grumpyjames/buck,mogers/buck,Learn-Android-app/buck,vine/buck,zhuxiaohao/buck,darkforestzero/buck,raviagarwal7/buck,illicitonion/buck,brettwooldridge/buck,saleeh93/buck-cutom,davido/buck,justinmuller/buck,1yvT0s/buck,zhan-xiong/buck,romanoid/buck,brettwooldridge/buck,shybovycha/buck,liuyang-li/buck,dsyang/buck,rhencke/buck,MarkRunWu/buck,pwz3n0/buck,Dominator008/buck,rmaz/buck,ilya-klyuchnikov/buck,vine/buck,mikekap/buck,zhuxiaohao/buck,Heart2009/buck,rhencke/buck,daedric/buck,rmaz/buck,darkforestzero/buck,nguyentruongtho/buck,Addepar/buck,robbertvanginkel/buck,vschs007/buck,illicitonion/buck,vschs007/buck,rhencke/buck,dushmis/buck,raviagarwal7/buck,daedric/buck,LegNeato/buck,SeleniumHQ/buck,raviagarwal7/buck,vschs007/buck,JoelMarcey/buck,romanoid/buck,Heart2009/buck,grumpyjames/buck,rmaz/buck,SeleniumHQ/buck,OkBuilds/buck,pwz3n0/buck,marcinkwiatkowski/buck,siddhartharay007/buck,dsyang/buck,mikekap/buck,OkBuilds/buck,rhencke/buck,justinmuller/buck,grumpyjames/buck,illicitonion/buck,Dominator008/buck,zhan-xiong/buck,lukw00/buck,janicduplessis/buck,mikekap/buck,tgummerer/buck,neonichu/buck,liuyang-li/buck,shybovycha/buck,k21/buck,brettwooldridge/buck,lukw00/buck,mogers/buck,dpursehouse/buck,mogers/buck,grumpyjames/buck,bocon13/buck,facebook/buck,JoelMarcey/buck,stuhood/buck,tgummerer/buck,JoelMarcey/buck,raviagarwal7/buck,raviagarwal7/buck,liuyang-li/buck,mikekap/buck,shs96c/buck,bocon13/buck,clonetwin26/buck,ilya-klyuchnikov/buck,LegNeato/buck,Heart2009/buck,liuyang-li/buck,1yvT0s/buck,neonichu/buck,JoelMarcey/buck,dpursehouse/buck,luiseduardohdbackup/buck,siddhartharay007/buck,Learn-Android-app/buck,bocon13/buck,mikekap/buck,robbertvanginkel/buck,sdwilsh/buck,illicitonion/buck,mogers/buck,mogers/buck,JoelMarcey/buck,neonichu/buck,stuhood/buck,neonichu/buck,facebook/buck,clonetwin26/buck,MarkRunWu/buck,SeleniumHQ/buck,janicduplessis/buck,brettwooldridge/buck,janicduplessis/buck,SeleniumHQ/buck,hgl888/buck,davido/buck,tgummerer/buck,zhuxiaohao/buck,Addepar/buck,ilya-klyuchnikov/buck,artiya4u/buck,illicitonion/buck,sdwilsh/buck,mnuessler/buck,bocon13/buck,dpursehouse/buck,illicitonion/buck,sdwilsh/buck,rowillia/buck,shs96c/buck,stuhood/buck,Dominator008/buck,grumpyjames/buck,justinmuller/buck,davido/buck,Heart2009/buck,shs96c/buck,LegNeato/buck,dsyang/buck,shybovycha/buck,liuyang-li/buck,rowillia/buck,illicitonion/buck,ilya-klyuchnikov/buck,bocon13/buck,LegNeato/buck,justinmuller/buck,zpao/buck,vine/buck,luiseduardohdbackup/buck,lukw00/buck,hgl888/buck,mikekap/buck,illicitonion/buck,darkforestzero/buck,ilya-klyuchnikov/buck,tgummerer/buck,darkforestzero/buck,lukw00/buck,zhuxiaohao/buck,facebook/buck,rhencke/buck,OkBuilds/buck,Addepar/buck,zpao/buck,rmaz/buck,bocon13/buck,Learn-Android-app/buck,sdwilsh/buck,mread/buck,vschs007/buck,nguyentruongtho/buck,rmaz/buck,brettwooldridge/buck,marcinkwiatkowski/buck,rowillia/buck,neonichu/buck,shybovycha/buck,grumpyjames/buck,clonetwin26/buck,Dominator008/buck,facebook/buck,zhan-xiong/buck,zhan-xiong/buck,brettwooldridge/buck,vschs007/buck,vschs007/buck,pwz3n0/buck,k21/buck,mogers/buck,dsyang/buck,daedric/buck,shs96c/buck,1yvT0s/buck,raviagarwal7/buck,stuhood/buck,OkBuilds/buck,siddhartharay007/buck,Addepar/buck,ilya-klyuchnikov/buck,marcinkwiatkowski/buck,vschs007/buck,shs96c/buck,pwz3n0/buck,shybovycha/buck,siddhartharay007/buck,LegNeato/buck,dsyang/buck,sdwilsh/buck,darkforestzero/buck,luiseduardohdbackup/buck,hgl888/buck,daedric/buck,davido/buck,LegNeato/buck,robbertvanginkel/buck,kageiit/buck,liuyang-li/buck,justinmuller/buck,clonetwin26/buck,clonetwin26/buck,JoelMarcey/buck,grumpyjames/buck,shs96c/buck,sdwilsh/buck,romanoid/buck,tgummerer/buck,daedric/buck,shs96c/buck,dushmis/buck,shs96c/buck,justinmuller/buck,darkforestzero/buck,rowillia/buck,Dominator008/buck,pwz3n0/buck,Addepar/buck,SeleniumHQ/buck,davido/buck,daedric/buck,k21/buck,lukw00/buck,clonetwin26/buck,hgl888/buck,romanoid/buck,Heart2009/buck,sdwilsh/buck,rowillia/buck,liuyang-li/buck,zhuxiaohao/buck,robbertvanginkel/buck,robbertvanginkel/buck,marcinkwiatkowski/buck,shs96c/buck,mogers/buck,artiya4u/buck,zhan-xiong/buck,k21/buck,dsyang/buck,lukw00/buck,rowillia/buck,mikekap/buck,brettwooldridge/buck,mread/buck,zpao/buck,vschs007/buck,mogers/buck,zpao/buck,mread/buck,OkBuilds/buck,daedric/buck,hgl888/buck,mnuessler/buck,1yvT0s/buck,MarkRunWu/buck,sdwilsh/buck,OkBuilds/buck,k21/buck,janicduplessis/buck,pwz3n0/buck,daedric/buck,bocon13/buck,luiseduardohdbackup/buck,1yvT0s/buck,dushmis/buck,kageiit/buck,darkforestzero/buck,Distrotech/buck,hgl888/buck,davido/buck,vschs007/buck,facebook/buck,marcinkwiatkowski/buck,romanoid/buck,sdwilsh/buck,1yvT0s/buck,justinmuller/buck,OkBuilds/buck,grumpyjames/buck,Distrotech/buck,romanoid/buck