docstring update.
minor.
add yaml support.
make werkzeug rule endpoint assignment template friendly.
remove needless loop.
minor.