Rice is sold by the kilogram.

Literal

Rice [topic-は] kilogram units [in-で] sold is.

キロ単位で is 'in kilogram units.' 売られる is the passive of 売る — 'is sold.' The present tense describes a general commercial practice. A factual sentence about how rice is measured for sale.