Moved the path grammar in a common directory