Rui immediately dove into Project Megamind after he finished his consultation with the Gatekeeper. That was the name that he designated for his current idea that he was determined to see through to the end.
The Gatekeeper had allowed Rui to get a much better idea of his constraints and risks. While the Divine Doctor possessed astronomically more knowledge, Sir Armstrong was able to leverage five centuries of experience to understand the practical hurdles and challenges that Rui would be able to overcome in Martial Art training.
This allowed Rui to skip a lot of redundant testing phases that he would have otherwise needed to learn what he got from the man.
Project Megamind involved two phases.
The first phase was general conditioning for several parts of his body, including but not limited to the circulatory system, some of his internal organs, and, most importantly, his heart.