bugfix on rules :D