add properties to rule class