Nail polish/salt
I have tried this on three of my most used rulers and it works great. I put several spots on each ruler, perhaps 8 on the back of my 6x28. We use sea salt and the grind is course. For a few days there was a few grains which had worked loose, but okay now. Give it a try. I think you will be pleased.