Move iprule flushing to the init function to make the timing predictable