While writing rules I create system variables (2 of them) and added them to a dashboard.
I deleted the variables, worked further on the rule and went back to the dashboard and the tiles were not the usual ? mark - but the layout said the squares were used.
Ultimately I could only clean it up by editing the JSON.