add editor rules