Add rules to control table layout.