The Rex Hotel has been bought by AME Systems and will house up to 30 workers.