rm tgt_pos in src_rule unit due to no use
check whether generalization config is valid