daemon-rewrite/parser: Implement parsing of warn, crit, min and max