Adding rule for project 5