Moved the Conditional Processing code into the common utils library.