Place down 3 stone gateways and a large beartrap in the middle. Let the Rex walk in there and then place a forth gateway behind the Rex.

More Rex Taming & KO Tips