add rules.pdf, new version of exercise_4