Revert "Deleted custom rules"

This reverts commit 3ecdc28fc3faeac0c7e23a8c72832a264a31d60a.