implemented rule percentages