Inside of the stanza found in "Prajna" of The Platform Sutra are a couple of lines that speak of "right and wrong views" and their purpose. "But when we are in a position to discard both of them / We are then absolutely pure." From the perspective of Zen Buddhism, we shouldn't simply aim for what is right, but instead seek "pureness" or enlightenment. As someone who practices mindfulness meditation frequently, I enjoyed reading this bit. It is very similar in that the "goal" is to detach yourself from your thoughts. You are still allowed to think (it's hard not to), but the difference is that you should be able to control your reactions to these thoughts. From an ethical point of view, this idea can be used in dealing with a lot of moral problems.