Remove set_id function
Return integer rule id