support nodes and elements of set in create_bnf()