add docstrings. when extracting: ignore nested functions
add TODO
extract rules from AST. needs to be tested on django corpus