A replacement chainring has to have the same BCD as the crankset, as well as the same positioning of the bolts, so the two join up. The BCD of any given crankset also sets the lower teeth limit for chainring compatibility. If you have a 130mm BCD crankset, for example, the smallest compatible chainring is a 38t.