{first} context rule not applying (FM2022)
I'm having trouble getting a {first} context rule to work.
In my EDD I have the following rules:


When the Heading Element is added to the ActivitySection, I want the following format changes to happen:
1. If it's the Heading in the first ActivitySection in the Activities, the spacing before should be 0pt.
2. If it's not the Heading in the first ActivitySection in the Activities, then check the Level context:
- If it's Level 1, add spacing before of 27pt.
- Any other level, add spacing before of 10.5pt
In the Heading Element, I have the following Context Rule:

When I apply it to my document with the following elements:

I know the {first} condition checks whether the ActivitySection is the first element within the Activites element. In my case it will never be the first element. I need the rule to apply to the first instance of the ActivitySection within the Activities element. Is there a way to achieve this?

