Prevent duplicate CreateDir operations when rules directory is the same as config directory by checking if the directory creation has already been planned before adding another one.
Prevent duplicate CreateDir operations when rules directory is the same as config directory by checking if the directory creation has already been planned before adding another one.