Add indent rules to the grammar class.