Added the L flag to the last in case rules need to be added after it later.