Refactor and add local var context
Refactor and add local var context

var context is used as a reference to current object. When iterate over
rules and properties "this" references Window

diesire/wef,diesire/wef,diesire/wef