rules: syntax errors and warning fixed; special character problem fixed;
semicolon; etc