This highlighted and tabbed 2018 International Residential Code for One- and Two-Family Dwellings book will help you find the answers quickly. The townhouse separation provisions now include options for using two separate fire-resistant-rated walls or a common wall.