What do you suppose it would say if i wanted to make all iron tiles give me +2 commerce?
You would either need to be very creative with xml, add a new tag (Beyond my understanding, would probably need to know lua) or simply settle for +2 gold for all strategic resources (similar to part of the Russian ability).
The simple settle for +2 gold for all strategic resources is below
<Trait_YieldChangesStrategicResources>
<Row>
<TraitType>TRAIT_NAME_OF_TRAIT_HERE</TraitType>
<YieldType>YIELD_GOLD</YieldType>
<Yield>2</Yield>
</Row>
</Trait_YieldChangesStrategicResources>
Note that <Trait_YieldChangesStrategicResources> tag is already open, so you shouldn't need to add that (Just put it there so you know where in the xml file the xml goes)
If you want to get creative, you could give the civ a kind of "unique tech" that will allow a "unique improvement" that is only buildable on hexes that have iron. Would have to edit.
1. CIV5Civilizations.xml
2. CIV5Technologies.xml
3. CIV5Builds.xml
4. CIV5Improvements.xml
Somehow, I don't think you'll bother, but incase you do, code is below. If that doesn't work, well I'm missing something I can't check until I actually get the full game
* denotes that this part is already present in the file, I've put it in to show you where in the file to edit
1. Edit CIV5Civilizations.xml (Give the civ a freetech)
<Civilization_FreeTechs>*
<Row>
<CivilizationType>CIVILIZATION_NAME</CivilizationType>
<TechType>TECH_NAME</TechType>
</Row>
</Civilization_FreeTechs>*
2. Edit CIV5Technologies.xml (Disable the tech so other civs can't get it, thus it stays unique)
<Technologies>*
<Row>
<Type>TECH_NAME</Type>
<Cost>10</Cost>
<Description>TXT_KEY_TECH_NAME_TITLE</Description>
<Civilopedia>TXT_KEY_TECH_NAME_DESC</Civilopedia>
<Help>TXT_KEY_TECH_NAME_HELP</Help>
<Era>ERA_ANCIENT</Era>
<GridX>0</GridX>
<GridY>0</GridY>
<Disable>true</Disable>
</Row>
</Technologies>*
3. CIV5Builds.xml (So workers can actually build the improvement, also to make the improvement require the "unique tech")
<Builds>*
<Row>
<Type>BUILD_NAME</Type>
<PrereqTech>TECH_NAME</PrereqTech>
<Time>700</Time>
<ImprovementType>IMPROVEMENT_NAME</ImprovementType>
<Description>TXT_KEY_BUILD_NAME</Description>
<Recommendation>TXT_KEY_BUILD_PROD_REC</Recommendation>
<EntityEvent>ENTITY_EVENT_MINE</EntityEvent>
<HotKey>KB_N</HotKey>
<OrderPriority>96</OrderPriority>
</Row>
</Builds>*
4. CIV5Improvements.xml (What the actual yields are, Only allow it to be built when Iron is present on a hex) (Need to edit in multiple places)
<Improvements>*
<Row>
<Type>IMPROVEMENT_NAME</Type>
<Description>TXT_KEY_IMPROVEMENT_NAME</Description>
<Civilopedia>TXT_KEY_CIV5_IMPROVEMENTS_NAME</Civilopedia>
<ArtDefineTag>ART_DEF_IMPROVEMENT_MINE</ArtDefineTag>
<PillageGold>20</PillageGold>
<PortraitIndex>26</PortraitIndex>
<IconAtlas>TERRAIN_ATLAS</IconAtlas>
</Row>
</Improvements>*
Seperate section
<Improvement_ResourceTypes>*
<Row>
<ImprovementType>IMPROVEMENT_MINE</ImprovementType>
<ResourceType>RESOURCE_IRON</ResourceType>
</Row>
</Improvement_ResourceTypes>*
Seperate section
<Improvement_ResourceType_Yields>*
<Row>
<ImprovementType>IMPROVEMENT_NAME</ImprovementType>
<ResourceType>RESOURCE_IRON</ResourceType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>1</Yield>
</Row>
<Row>
<ImprovementType>IMPROVEMENT_NAME</ImprovementType>
<ResourceType>RESOURCE_IRON</ResourceType>
<YieldType>YIELD_GOLD</YieldType>
<Yield>2</Yield>
</Row>
</Improvement_ResourceType_Yields>*