repo to diagnose issue with publication api and model rules