Add generic grammer element list parser