tests were fixed
direct setter to rules was added