some image rules for rst, wish they output more sane stuff. fixes #2
and #3