Fixed empty rules list issue