[PATCH] Changes to log file Rules