To prevent rulers from slipping, add narrow short strips of anti-slip floor tape to the backs of your rulers. The rough surface keeps the rulers in place and solves the problem at very little cost. You can find it at any WalMart, home improvement, or hardware store.