Task / Add constructor to rule.php