add rules fix