fixed /rules replace command