Fixed multiple bugs for cases when there are no alternative matches to compare current entries with.
Replaced anchors with more generic relations mechanism.
Fixed a few bugs with alignment.
Added a few tests.
Detected a flaw in logic: for every setting set it should be checked whether currently derived indent/spacing settings for blocks that share spacing agree with actual spacings in sample code.