Coding rules and sources for Chapter 4