Rails web example to manage Internal Rule