@metlos  You're right, my use case was not the good one. 
I have a problem now, because the parser removes all <IfModule> directives, see ```ApacheParserImpl.startNestedDirective()```

For you what is good implementation?
Maybe I should implement the interface ```ResourceUpgradeFacet`` as you suggested.