smk_perm_from_str
rule->smk_access1 = smk_perm_from_str(access1);
rule->smk_access2 = smk_perm_from_str(access2);