1. A method for automated rule-based compiling optimization, the method comprising: first compiling source code to generate first compiled code and a set of annotations that associate code segments of the first compiled code with code segments of the source code; executing the first compiled code and monitoring the execution to generate performance characteristics associated with the code segments of the source code according to the annotations; analyzing the performance characteristics according to a set of predefined optimization rules to associate each of a set of the code segments of the source code with a selected compiler optimization; generating optimization control data comprising instructions that each defines one of the selected compiler optimizations and its associated code segment of the source code; and second compiling the source code to generate second compiled code under direction of the optimization control data.