Added grammar rules for leaves