you get credits for the treaty, if you would also get the bonus it would be even more op then it already is
"Two way". This should, when selecting it via trading add it to both the factions trade window, granting it and equal credit value to both factions and there for eliminating the credits the AI would normaly pay for it.
its actually just missing the <GiverModifier>,
the <TwoWay> part just makes it so 2 races can only have one Treaty with each other
(if you change it to false, you can get the treaty from the AI AND sell yours to them)
There was (is?) a bug that you could also get/give the treaty every time you could trade with the AI,
In a test game i had ~50 of those treatys and they all stack^^