add two rules to parse the document
delete the config file