rex6