private void validateGroupRulesBeforeActivation(final Group group) {
Integer minClients = configurationDomainService.retrieveMinAllowedClientsInGroup();
Integer maxClients = configurationDomainService.retrieveMaxAllowedClientsInGroup();
boolean isGroupClientCountValid = group.isGroupsClientCountWithinMinMaxRange(minClients, maxClients);
if (!isGroupClientCountValid) { throw new GroupMemberCountNotInPermissibleRangeException(group.getId(), minClients, maxClients); }
}