npf_rule_getrid
int npf_rule_getrid(struct r_id *, nl_rule_t *, const char *);
if (!npf_rule_getrid(&rid, rl, "r_user")) {
if (!npf_rule_getrid(&rid, rl, "r_group")) {