_parse_rul_cal_root function is implemented (very unoptimized!)