added custom rules