Added inference rule application instructions to copy contours.
Maven: Added mockito and hamcrest as test dependencies.