add model rules