Add a helper method to add an existing rule to the index.
Add a helper method to add an existing rule to the index.

Test Plan: yolo1

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