add get_rule_for_parents and add docs for set_rule_for_parents