sections need to export .RULE
reorder C and C++ compile rules