Put list parsing in top rule