Refactoring grammar to simplif, ignore comments, allow globbing in allow & disallow rules