handle the preference rewrite_rule_set
handle the preference ncos and adm_ncos
preselect rewrite_rule_set, ncos and adm_ncos on preferences modal