modify sql wall rule