Create an error count threshold rule