Change in mom[master]: Add valid function to the policy parser