Internal Test: Verifies the layering and precedence of multiple format rules using `InsertAt`.