Comparing context of different entities is not easy at all. Since context depends on the situation of a particular entity it can be understood in different ways by various entities. In this paper we introduce an approach to consider all entities as environment in which the formal interpretation of all available context and its changes can be quantified and used to find optimal decisions within such an environment-aware system.