add my function and constant rule for filter player and teams by the user inputing , the performance needs test