1. A method for modifying a file written in a formal language, comprising: parsing an input file written in a formal language to generate a data structure of the input file; issuing, during generation of the data structure, one or more queries to a rule engine for evaluation of one or more rules for modifying the input file; and generating the data structure according to the evaluation of the one or more rules.