Temporary fix for generating rule name