update mock rules