Added options for custom rules