add rules for edit and destroy posts