Rules definition fix