adds basic list parsing
adds rule parsing