Current API only works for legacy CROSSTOOL fields such as compiler_flag, whereas C++ rules work on top of the "feature configuration" using action_config and feature messages. Implement a new API that will replace the existing one and that will work with feature configuration.