Tombo, any wax finish (eg Beeswax) will do. To be honest I've never had a problem with regular yellow glue. Once it cures it comes off with a quick flick with a thumb nail. However not sure about poly glues. If your rails are covered in the stuff, chuck a brass (or even steel) brush in the drill and give it a good going over.
Noel