Refactored ID filter checks into #is_valid_id?.

Added call to #remove_rule! as well.
Re-implemented DELETE /rule/:id handler for new API.

Removed old #format_response method since this is now handled by the
Rule model.