Add some rules; fixes #5767
Add some rules; fixes #5767

We now have rules for
    integerToInt    (smallInteger    x) = x
    integerToWord   (wordToInteger   x) = x
    integerToInt64  (int64ToInteger  x) = x
    integerToWord64 (word64ToInteger x) = x

mcschroeder/ghc,christiaanb/ghc,forked-upstream-packages-for-ghcjs/ghc,olsner/ghc,tjakway/ghcjvm,nushio3/ghc,green-haskell/ghc,sdiehl/ghc,nathyong/microghc-ghc,fmthoma/ghc,vikraman/ghc,vikraman/ghc,gcampax/ghc,AlexanderPankiv/ghc,elieux/ghc,oldmanmike/ghc,oldmanmike/ghc,mfine/ghc,nkaretnikov/ghc,ezyang/ghc,ezyang/ghc,oldmanmike/ghc,snoyberg/ghc,tjakway/ghcjvm,siddhanathan/ghc,siddhanathan/ghc,fmthoma/ghc,frantisekfarka/ghc-dsi,nathyong/microghc-ghc,snoyberg/ghc,nkaretnikov/ghc,vikraman/ghc,jstolarek/ghc,tjakway/ghcjvm,sdiehl/ghc,shlevy/ghc,vikraman/ghc,gridaphobe/ghc,wxwxwwxxx/ghc,gcampax/ghc,da-x/ghc,fmthoma/ghc,wxwxwwxxx/ghc,TomMD/ghc,nushio3/ghc,forked-upstream-packages-for-ghcjs/ghc,sgillespie/ghc,GaloisInc/halvm-ghc,nkaretnikov/ghc,siddhanathan/ghc,ml9951/ghc,gridaphobe/ghc,mfine/ghc,sgillespie/ghc,christiaanb/ghc,vTurbine/ghc,frantisekfarka/ghc-dsi,ghc-android/ghc,GaloisInc/halvm-ghc,olsner/ghc,snoyberg/ghc,mfine/ghc,TomMD/ghc,jstolarek/ghc,urbanslug/ghc,jstolarek/ghc,da-x/ghc,mcschroeder/ghc,frantisekfarka/ghc-dsi,wxwxwwxxx/ghc,christiaanb/ghc,ghc-android/ghc,ryantm/ghc,elieux/ghc,christiaanb/ghc,AlexanderPankiv/ghc,mcschroeder/ghc,ezyang/ghc,holzensp/ghc,wxwxwwxxx/ghc,green-haskell/ghc,green-haskell/ghc,urbanslug/ghc,green-haskell/ghc,sdiehl/ghc,sdiehl/ghc,christiaanb/ghc,anton-dessiatov/ghc,spacekitteh/smcghc,mcschroeder/ghc,tibbe/ghc,ryantm/ghc,GaloisInc/halvm-ghc,snoyberg/ghc,nkaretnikov/ghc,nushio3/ghc,oldmanmike/ghc,ghc-android/ghc,anton-dessiatov/ghc,gridaphobe/ghc,acowley/ghc,ezyang/ghc,gcampax/ghc,spacekitteh/smcghc,nathyong/microghc-ghc,acowley/ghc,tibbe/ghc,gcampax/ghc,nushio3/ghc,nkaretnikov/ghc,acowley/ghc,bitemyapp/ghc,shlevy/ghc,GaloisInc/halvm-ghc,christiaanb/ghc,mettekou/ghc,sgillespie/ghc,tjakway/ghcjvm,ml9951/ghc,bitemyapp/ghc,forked-upstream-packages-for-ghcjs/ghc,AlexanderPankiv/ghc,acowley/ghc,elieux/ghc,fmthoma/ghc,da-x/ghc,anton-dessiatov/ghc,vikraman/ghc,tjakway/ghcjvm,olsner/ghc,mfine/ghc,ryantm/ghc,fmthoma/ghc,fmthoma/ghc,wxwxwwxxx/ghc,ryantm/ghc,forked-upstream-packages-for-ghcjs/ghc,vTurbine/ghc,nathyong/microghc-ghc,vikraman/ghc,spacekitteh/smcghc,bitemyapp/ghc,nathyong/microghc-ghc,shlevy/ghc,mcschroeder/ghc,ryantm/ghc,sdiehl/ghc,anton-dessiatov/ghc,nushio3/ghc,vTurbine/ghc,nathyong/microghc-ghc,ghc-android/ghc,ml9951/ghc,gcampax/ghc,urbanslug/ghc,anton-dessiatov/ghc,acowley/ghc,snoyberg/ghc,elieux/ghc,anton-dessiatov/ghc,bitemyapp/ghc,da-x/ghc,gridaphobe/ghc,siddhanathan/ghc,tibbe/ghc,TomMD/ghc,gridaphobe/ghc,fmthoma/ghc,elieux/ghc,olsner/ghc,vTurbine/ghc,lukexi/ghc,mettekou/ghc,lukexi/ghc,urbanslug/ghc,mettekou/ghc,nkaretnikov/ghc,TomMD/ghc,bitemyapp/ghc,mettekou/ghc,vTurbine/ghc,AlexanderPankiv/ghc,spacekitteh/smcghc,siddhanathan/ghc,holzensp/ghc,gcampax/ghc,jstolarek/ghc,mettekou/ghc,nathyong/microghc-ghc,ghc-android/ghc,tjakway/ghcjvm,tibbe/ghc,mettekou/ghc,oldmanmike/ghc,da-x/ghc,ghc-android/ghc,lukexi/ghc,elieux/ghc,ezyang/ghc,lukexi/ghc,ml9951/ghc,holzensp/ghc,sgillespie/ghc,nushio3/ghc,mcschroeder/ghc,vTurbine/ghc,acowley/ghc,GaloisInc/halvm-ghc,mfine/ghc,olsner/ghc,mettekou/ghc,frantisekfarka/ghc-dsi,da-x/ghc,mfine/ghc,gcampax/ghc,mcschroeder/ghc,ml9951/ghc,elieux/ghc,GaloisInc/halvm-ghc,shlevy/ghc,ml9951/ghc,TomMD/ghc,wxwxwwxxx/ghc,vikraman/ghc,forked-upstream-packages-for-ghcjs/ghc,siddhanathan/ghc,ezyang/ghc,frantisekfarka/ghc-dsi,shlevy/ghc,snoyberg/ghc,nkaretnikov/ghc,sdiehl/ghc,ezyang/ghc,green-haskell/ghc,gridaphobe/ghc,siddhanathan/ghc,AlexanderPankiv/ghc,oldmanmike/ghc,holzensp/ghc,oldmanmike/ghc,anton-dessiatov/ghc,acowley/ghc,snoyberg/ghc,AlexanderPankiv/ghc,mfine/ghc,christiaanb/ghc,holzensp/ghc,urbanslug/ghc,nushio3/ghc,AlexanderPankiv/ghc,jstolarek/ghc,TomMD/ghc,shlevy/ghc,ghc-android/ghc,spacekitteh/smcghc,forked-upstream-packages-for-ghcjs/ghc,GaloisInc/halvm-ghc,tjakway/ghcjvm,lukexi/ghc,sgillespie/ghc,wxwxwwxxx/ghc,sgillespie/ghc,TomMD/ghc,ml9951/ghc,gridaphobe/ghc,vTurbine/ghc,urbanslug/ghc,olsner/ghc,olsner/ghc,da-x/ghc,shlevy/ghc,urbanslug/ghc,sgillespie/ghc,forked-upstream-packages-for-ghcjs/ghc,sdiehl/ghc,ml9951/ghc,tibbe/ghc