add Core.ArrRank
fix Core.ToLiteral for array