Incompletely implemented derive_rules().