DRY up code dealing with COMMUNICATION_RANK_CL1. #4121