Standardize enum statepolicy -> ContextStatePolicy