// Moved layered rules from top to bottom in order to avoid conflicts