Teammate is a type of Associate. Associate is related to Friend. you are likely to find Friend in/at/on Need. 
Rule can be used for Understanding. Understanding is a synonym of Agreement. 
Teammate --IsA--> Associate <--RelatedTo--> Friend --AtLocation--> Need 
Rule --UsedFor--> Understanding <--Synonym--> Agreement 