For
Question/Example 1:
Use:
(Feature.Parent.FormattedID = "I1")Notice that you use 'Feature' to refer to the Feature that's the story's parent. Then you continue with '.Parent' going up the portfolio chain as many times as you need to reach your object.
<Please see attached file for image>

For
Question/Example 2:
Use:
(Feature.Parent.Parent.FormattedID = "E373")Notice that you use 'Feature' to refer to the Feature that's the story's parent. Then you continue with '.Parent' going up the portfolio chain as many times as you need to reach your object.
<Please see attached file for image>