[rules-dev] working on grammar