Basic functionality finished

It works
Added ability for customization

You can make your own rulestring.