rules of  code for Japan