Ok, finally fixed it.
Turns out that if you have tried to run the game with the error filled research.rul, it imports something and keep messing up.
A new fresh copy of the game, copying over the mods, savegames configs, and research.rul BEFORE starting the game for the first time fixed it.
Thanks for the help all.