write base rules
write distance based similarity
write distributional similarity