modify elephant rule