fix rule position