base rules for alignment and display property