modify some rules