[#1] finished curl POST and added rules