Namespace CSS rules and add ability to draw a static ruler