rules/common/prefer_correct_switch_length library