port: Rule class now works; next stop - tests