Implement boolean parsing and add rotation of decorations