cleanup meter d0 parsing

fixed some strange (or -> ||, = -> ==) operations.
Tested with EHZ361
Using indent size 4 (but seems anyhow different than original ones, sorry for that)
rebased on latest master