See image. An agricultural station is right next to an anarchist gathering.

I'm not sure how the Encounter code works but maybe:

CommonwealthAgricultural.xml
&stAgriculturalStation;
<Encounter>
Line 36

exclusionRadius=

->

enemyExclusionRadius=

The anarchist gathering code has an enemy exclusion radius of 50.

agric exclusion.jpg
agric exclusion.jpg