fix rule configuration