RuntimePolicyReference reference = null;
try {
Value value = expression.evaluate(expressionContext);
if (value instanceof RepositoryObjectIdentityValue) {
RepositoryObjectIdentityValue identityValue =
(RepositoryObjectIdentityValue) value;
PolicyIdentity identity = identityValue.asPolicyIdentity();
reference = referenceFactory.createLazyNormalizedReference(
(RuntimeProject) identity.getProject(), baseURL, identity.getName(),
identity.getPolicyType());