Fixes #2992; Reorders #bracket rule and cleans up transpose tick matching
Merge pull request #2996 from karbarcca/patch-2

Fixes #2992; Reorders #bracket rule and cleans up transpose tick matching