update rules api with new POST methodology