Rate unit and value range field retrieval were reversed.
fixed getRateUnit method
in traversal do getCHildren only once.
enumeration class cast error fixed in getRangeUnit