Expressions for content filtering policy conditions