* class that is used to operate with words relation stats
* reduce disk I/O by caching in memory access to Ending Rules by ID
* fix error in calculation of relation index