parser is working again. Have not yet handled changing rule status for nested elems