systemConfigurationModule.controller('ruleEngineeTableController', ['$scope', '$log', '$translate', 
    function ($scope, $log, $translate) {
        $scope.validNumber = function (e) {
            var event = e.jQueryEvent,
                str = event.key || String.fromCharCode(event.which);
            if (/^[\.\,e]$/.test(str))
                event.preventDefault();
        };
        $scope.validRateRequired = function (e) {
            var instance = e.component._options.value;
            if (_.isNull(instance) || _.isUndefined(instance)) {
                var event=e.jQueryEvent;
                $(event.target).parent().parent().css('border-color', 'red');
            }
        };
    }]);