small fixes on docstrings
generalized some rules function, removed _EOL
candidates for relation now can be limited and shuffled
added metrings module with some helpers
added rules tester script
added rules tester to the instance
added basic documentation about rules tester
Merge branch '404-rules-tester' into sprint5