Added functionality to add global css rules into windows