Added kernel-runner with arguments to also run the complete_transformation test case and validate output.
Refactored a bit more complex rewriting support to separate helper class.