MODE-2091: Validation based on BNF rules