His condition for victory was staying ahead of her prediction.
Inversely, her condition for survival was predicting all of his decisions well ahead of time and preparing for each of them ahead of time with a perfect solution.
The perfect solution was actually the devil in the details.
Even the slightest margin of error would mean that she would sustain some of his attack.
Quantum computing was extremely fragile, such that if even 0.01% of Rui's energy reached the quantum supercomputer, it would malfunction or be destroyed.
She redirected every ounce of her processing power to Rui and Rui only, ensuring that she predicted everything he did.
She read his SOUL, allowing her to predict his subconscious intent while refining her predictive model on him. Rui was unable to use the SOUL system on a consciousness uploaded to a quantum supercomputer, limited to Prophecy of the Void, which allowed him to pose a continuous question to NOVA.
