addRule fix