fix on rules status and manipulation