edited rules a bit