adding rule for display_errors