remove html rules