add protobuf rules
add lex/yacc rules for C++