adds bool literal to grammar