Introduce formatter and nested rules