Non-slip safety ruler