add preprocess rules option (hack)