Wittgenstein and pragmatism: habits, rules and forms of life