vcap_encode_keyfield
vcap_encode_keyfield(ri, &tempkf, &kf_table[ckf->ctrl.key],
vcap_encode_keyfield(&rule, &ckf, &rf, tgt);