Ranks derived from multilinear maps