Fixed the sendRule/receiveRule checking loops