Prevent selectorless rules from being compiled
Minor clean up, improve documentation, add type hints