After you save a rule form, you can view an approximation of the generated Java to be created by a rule instance by selecting Action > Java.
You can view Java if you have the @baseclass.ToolbarFull privilege, and you can view Java for certain rules, including activities, when rules, and stream rules.