add some rules to bat file