Separated compilation rule from run rule.