move all custom rules in a separate file