Rewrite test cases for the forwarding rule manager module.
Fix documentation.