add close brackets rules; update 0.4.1