fix: # at the end of URL prevents encoding
minor: remove irreversible and useless sand rule
chorus: move style definitions to the top
big rework of the library processing code. support for command line, arbitrary rules; code is optimized too
better name