Changed rules based on Google Docs.
Added soft delete and validates uniq check.