Added rule and state editors