Effective Boundary Conditions: A General Strategy and Application to Compressible Flows Over Rough Boundaries. (7th February 2017)