Fix for issues #10 and #11.

Added rule "sotd.implementation" plus tests.