rule offset fix