rule for routing and view post