1. fixes reversed grid in FF > 30.xx
2. added restored context rules