apmaskin code style rules. This closes #2.