added error html rule