I've been learning modding and creating a bundle of new civilizations for civ 5 using XML. Artwork, unique units, unique buildings and the like are easy enough for me to make, but even with the help of guides I can't manage to create truly unique leader traits. I'm not talking about traits that straight copy existing traits, but not about anything too revolutionary either. Some of them copy existing technologies or policies and shouldn't be too hard to replicate, but I can't seem to find a way to do it. I'll leave the ideas for the traits here in the hopes that one of you can help or guide me how to do it. The traits are following:
Gain an additional Delegate in the World Congress for each Diplomat acting in a foreign
Capital.
Exactly the same as the Globalization technology, but shouldn't replace the tech once it's reached.
Combat bonus against barbarians.
Not the whole trait, but this part gives me trouble even though it's similar to unlocking the Honor policy tree.
+50%
Food or
Production from internal trade routes.
Once again not the whole trait, but the part that is hard. Similar to the Iron Curtain tenet.
Boosts
Science gained from Research Agreements by +20% to both parties. Trade routes to your cities generate +2
Science to you and the Trade Route owners receive +1
Gold.
A bit similar to the Moroccan trait and the Scientific Revolution policy I guess?
After researching Philosophy, opening a new policy tree triggers a
Golden Age.
Not the whole trait, but most of it, can't figure this one out either.
Can pillage own tiles. Pillaged tiles in your territory yield +1
Gold and give a defensive bonus of 50% to your units.
One of the harder ones to create, especially the part where the defensive bonus is for your units only. Maybe a unique upgrade?
Resting point for
Influence with all City-States is increased by 5. Friendly City-States boost Great Person generation by 5%, except for militaristic City-States, that gift units twice as often when at war with a common foe.
In my opinion the hardest one to create. Other parts resemble policies and tenets, but the GP one is pretty unique compared to my other traits.
Thanks in advance for the help!
Gain an additional Delegate in the World Congress for each Diplomat acting in a foreign

Exactly the same as the Globalization technology, but shouldn't replace the tech once it's reached.
Combat bonus against barbarians.
Not the whole trait, but this part gives me trouble even though it's similar to unlocking the Honor policy tree.
+50%


Once again not the whole trait, but the part that is hard. Similar to the Iron Curtain tenet.
Boosts



A bit similar to the Moroccan trait and the Scientific Revolution policy I guess?
After researching Philosophy, opening a new policy tree triggers a

Not the whole trait, but most of it, can't figure this one out either.
Can pillage own tiles. Pillaged tiles in your territory yield +1

One of the harder ones to create, especially the part where the defensive bonus is for your units only. Maybe a unique upgrade?
Resting point for

In my opinion the hardest one to create. Other parts resemble policies and tenets, but the GP one is pretty unique compared to my other traits.
Thanks in advance for the help!