It Means?

I had several dreams last night where I was on the same side (team, faction etc) with someone but we don't get along. 

I can be working with someone towards the same goal, but we hate each other. Inside. We only know. 

What does that mean? 

What does it mean that my rival and I wear the same uniform?