edited rules ui