Adding rule for processing matching bracket