restrictions for grammar