test rules UI