Fix rules(), propagate errors

Make sure validation errors from the server are propagated to the client