def rm_rule_covers_cn(cn, rule, pos_idx, neg_idx):
    """Return positive and negative indices not covered by object."""
    return pos_idx - cn.rule_covers(rule, pos_idx), neg_idx - cn.rule_covers(
        rule, neg_idx)
