Fix insertRule for google chrome