using pre and postprocessor rules