Refactored RuntimePolicy determination in GlimpseRuntime