The whole sentence is a bit awkward. As an English speaker, I would use the sentence ,,,rebel spies managed to steal THE secret plans FOR the Empire's ultimate weapon...
An English teacher might have more to say on this, and the way they said it might be the the correct way, but to me the sentence sounds stilted and a bit awkward.
Neal