update parser to work with > rules