Use a single rule hash for both lower_name and name.
Use a single rule hash for both lower_name and name.

Right now in the common case we're doing twice the work during stylist update,
and also checking is_html_element_in_html_document twice during lookup. This
patch aligns us with what Gecko does.

MozReview-Commit-ID: D4TyG30BP8C

canaltinova/servo,saneyuki/servo,SimonSapin/servo,thiagopnts/servo,pyfisch/servo,CJ8664/servo,mattnenterprise/servo,fiji-flo/servo,notriddle/servo,ConnorGBrewster/servo,cbrewster/servo,jimberlage/servo,DominoTree/servo,mattnenterprise/servo,eddyb/servo,avadacatavra/servo,paulrouget/servo,anthgur/servo,pyfisch/servo,saneyuki/servo,ConnorGBrewster/servo,KiChjang/servo,szeged/servo,anthgur/servo,KiChjang/servo,cbrewster/servo,saneyuki/servo,sadmansk/servo,cbrewster/servo,DominoTree/servo,notriddle/servo,mbrubeck/servo,splav/servo,CJ8664/servo,jimberlage/servo,notriddle/servo,dati91/servo,dsandeephegde/servo,DominoTree/servo,cbrewster/servo,KiChjang/servo,szeged/servo,CJ8664/servo,thiagopnts/servo,szeged/servo,jimberlage/servo,DominoTree/servo,ConnorGBrewster/servo,rnestler/servo,pyfisch/servo,peterjoel/servo,SimonSapin/servo,mattnenterprise/servo,pyfisch/servo,notriddle/servo,splav/servo,upsuper/servo,emilio/servo,peterjoel/servo,dsandeephegde/servo,CJ8664/servo,thiagopnts/servo,eddyb/servo,thiagopnts/servo,saneyuki/servo,thiagopnts/servo,SimonSapin/servo,notriddle/servo,szeged/servo,splav/servo,larsbergstrom/servo,notriddle/servo,jimberlage/servo,CJ8664/servo,nnethercote/servo,szeged/servo,paulrouget/servo,mattnenterprise/servo,DominoTree/servo,larsbergstrom/servo,fiji-flo/servo,splav/servo,mbrubeck/servo,SimonSapin/servo,thiagopnts/servo,CJ8664/servo,emilio/servo,SimonSapin/servo,nnethercote/servo,paulrouget/servo,KiChjang/servo,pyfisch/servo,saneyuki/servo,szeged/servo,rnestler/servo,dati91/servo,KiChjang/servo,pyfisch/servo,nnethercote/servo,larsbergstrom/servo,dati91/servo,larsbergstrom/servo,saneyuki/servo,fiji-flo/servo,jimberlage/servo,dati91/servo,larsbergstrom/servo,mattnenterprise/servo,emilio/servo,saneyuki/servo,dsandeephegde/servo,peterjoel/servo,rnestler/servo,anthgur/servo,dsandeephegde/servo,sadmansk/servo,mbrubeck/servo,peterjoel/servo,splav/servo,sadmansk/servo,larsbergstrom/servo,paulrouget/servo,paulrouget/servo,upsuper/servo,eddyb/servo,cbrewster/servo,nnethercote/servo,larsbergstrom/servo,notriddle/servo,DominoTree/servo,emilio/servo,fiji-flo/servo,mattnenterprise/servo,avadacatavra/servo,thiagopnts/servo,peterjoel/servo,SimonSapin/servo,sadmansk/servo,paulrouget/servo,dati91/servo,canaltinova/servo,saneyuki/servo,paulrouget/servo,mbrubeck/servo,dati91/servo,szeged/servo,szeged/servo,mbrubeck/servo,splav/servo,upsuper/servo,avadacatavra/servo,canaltinova/servo,eddyb/servo,emilio/servo,peterjoel/servo,fiji-flo/servo,rnestler/servo,eddyb/servo,cbrewster/servo,KiChjang/servo,dsandeephegde/servo,anthgur/servo,KiChjang/servo,mbrubeck/servo,mattnenterprise/servo,pyfisch/servo,emilio/servo,canaltinova/servo,emilio/servo,canaltinova/servo,avadacatavra/servo,avadacatavra/servo,saneyuki/servo,ConnorGBrewster/servo,avadacatavra/servo,nnethercote/servo,pyfisch/servo,eddyb/servo,mbrubeck/servo,rnestler/servo,dsandeephegde/servo,pyfisch/servo,fiji-flo/servo,CJ8664/servo,canaltinova/servo,DominoTree/servo,DominoTree/servo,ConnorGBrewster/servo,KiChjang/servo,thiagopnts/servo,larsbergstrom/servo,sadmansk/servo,eddyb/servo,paulrouget/servo,nnethercote/servo,peterjoel/servo,szeged/servo,splav/servo,upsuper/servo,fiji-flo/servo,sadmansk/servo,anthgur/servo,upsuper/servo,cbrewster/servo,sadmansk/servo,paulrouget/servo,upsuper/servo,DominoTree/servo,SimonSapin/servo,ConnorGBrewster/servo,anthgur/servo,peterjoel/servo,splav/servo,notriddle/servo,mbrubeck/servo,avadacatavra/servo,cbrewster/servo,nnethercote/servo,emilio/servo,CJ8664/servo,emilio/servo,SimonSapin/servo,upsuper/servo,upsuper/servo,jimberlage/servo,paulrouget/servo,ConnorGBrewster/servo,dati91/servo,saneyuki/servo,notriddle/servo,pyfisch/servo,KiChjang/servo,emilio/servo,dati91/servo,fiji-flo/servo,rnestler/servo,nnethercote/servo,canaltinova/servo,dsandeephegde/servo,sadmansk/servo,jimberlage/servo,mattnenterprise/servo,peterjoel/servo,avadacatavra/servo,KiChjang/servo,ConnorGBrewster/servo,splav/servo,jimberlage/servo,notriddle/servo,szeged/servo,peterjoel/servo,dsandeephegde/servo,larsbergstrom/servo,jimberlage/servo,anthgur/servo,canaltinova/servo,splav/servo,eddyb/servo,nnethercote/servo,rnestler/servo,DominoTree/servo,anthgur/servo,larsbergstrom/servo,nnethercote/servo,rnestler/servo