Added rule class