Rules.isLegal implemented, checked in the worksheet