vcap_encode_rule_actionset
err = vcap_encode_rule_actionset(ri);
ret = vcap_encode_rule_actionset(&rule);