Update mode rule syntax; add nested_code_block.