The function GetParentNav() returns the context of the previous RuleSet selector. By default: directly before, otherwise level up.
Syntax:
GetParentNav([optional: level: int])