fix rule output style